<!-- Main Content -->

    <div class="container-fluid">
        <!-- Title -->
        <div class="row heading-bg bg-pink">
            <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
                <h5 class="txt-light">商品录入</h5>
            </div>
        
            <!-- Breadcrumb -->
            <div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="index.html">渠道中心</a></li>
                    <li><a href="form-validation.html#"><span>商品管理</span></a></li>
                    <li class="active"><span>商户录入</span></li>
                </ol>
            </div>
            <!-- /Breadcrumb -->
        
        </div>
        <!-- /Title -->
        
        <!-- Row -->
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default card-view">
                    <div class="panel-heading">
                        <div class="pull-left">
                            <h6 class="panel-title txt-dark">商户录入</h6>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="panel-wrapper collapse in">
                        <div class="panel-body">
                            
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="form-wrap">
                                        <form enctype="multipart/form-data" action="?o=center&t=bus_shop_save&id=<{$gvar.fget.id}>" data-toggle="validator" method='post' class='form-horizontal' role="form">
                                        
                                       
                                       
                                        
                                        
                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-13 col-sm-1">商户名称</label>
                                                <div class="col-sm-10">
                                                <input name="business_name" value="<{$applist.business_name}>" type="text" class="form-control" id="inputName" placeholder="商户名称" required>
                                                
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-10  col-sm-1">纳税人名称</label>
                                                <div class="col-sm-10">
                                                <input name="taxpayer" type="text" value="<{$applist.taxpayer}>" class="form-control" id="inputName" placeholder="纳税人名称" required>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-15 col-sm-1">纳税人识别码</label>
                                                <div class="col-sm-10">
                                                <input name="taxpayerId" value="<{$applist.taxpayerId}>" type="text" class="form-control" id="inputName" placeholder="纳税人识别码" required>
                                                </div>
                                           </div>
                                           <!--  <div class="form-group">
                                                <label for="inputName" class="control-label mb-10">商户KEY</label>
                                                <input name="business_key" value="<{$applist.business_key}>" type="text" class="form-control" id="inputName" placeholder="纳税人识别码" required>
                                            </div>-->
                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-10  col-sm-1">纳税人电子发票档案号</label>
                                                <div class="col-sm-10">
                                                <input name="taxpayer_file_number" value="<{$applist.taxpayer_file_number}>" type="text" class="form-control" id="inputName" placeholder="纳税人电子发票档案" required>
                                                </div>
                                            </div>
                                            
                                            
                                            
                                            
                                            
                                            
                                            <div class="form-group  mt-30 mb-30">
                                                <label class="control-label mb-10 text-left  col-sm-1">省</label>
                                                <div class="col-sm-10">
                                                <select class="form-control province" name="province">
                                                    <option value="yd">请选择省</option>
                                                    <{section name=list loop=$area_list}>
                                                    <option value="<{$area_list[list].codeid}>" <{if $area_list[list].codeid==$applist.province}>selected<{/if}> ><{$area_list[list].cityName}></option>
                                                    <{/section}>
                                                </select>
                                                </div>
                                                
                                                
                                            </div>
                                            <div class="form-group mt-30 mb-30 city_select" style=" <{if $applist.city}>display:block<{else}>display:none<{/if}>">
                                                <label class="control-label mb-10   col-sm-1">市</label>
                                                <div class="col-sm-10">
                                                <select class="form-control city" name="city">
                                                    <option value="yd">请选择城市</option>
                                                    <{section name=list loop=$applist_city}>
                                                    <option value="<{$applist_city[list].codeid}>" <{if $applist_city[list].codeid==$applist.city}>selected<{/if}> ><{$applist_city[list].cityName}></option>
                                                    <{/section}>
                                                </select>
                                                </div>
                                            </div>
                                            <div class="form-group mt-30 mb-30 country_select" style=" <{if $applist.country}>display:block<{else}>display:none<{/if}>">
                                                <label class="control-label mb-10   col-sm-1">区，县</label>
                                                <div class="col-sm-10">
                                                <select class="form-control country" name="country">
                                                    <option value="yd">请选择区，县</option>
                                                    <{section name=list loop=$applist_country}>
                                                    <option value="<{$applist_country[list].codeid}>" <{if $applist_country[list].codeid==$applist.country}>selected<{/if}> ><{$applist_country[list].cityName}></option>
                                                    <{/section}>
                                                </select>
                                                </div>
                                            </div>
                                          
                                          
                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-10  col-sm-1">具体位置</label>
                                                <div class="col-sm-10">
                                                <input name="address" value="<{$applist.address}>" type="text" class="form-control" id="inputName" placeholder="具体位置" required>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-10  col-sm-1">联系人姓名</label>
                                                <div class="col-sm-10">
                                                <input name="shop_name" value="<{$applist.shop_name}>" type="text" class="form-control" id="inputName" placeholder="联系人电话" required>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <label for="inputName" class="control-label mb-10  col-sm-1">联系人电话</label>
                                                <div class="col-sm-10">
                                                <input name="shop_phone" value="<{$applist.shop_phone}>" type="text" class="form-control" id="inputName" placeholder="联系人姓名" required>
                                                </div>
                                            </div>



                                            <div class="form-group mb-30">
                                                <label class="control-label mb-10   col-sm-1">企业公章图片</label>
                                                <div class="col-sm-10">
                                                <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                                                    <div class="form-control" data-trigger="fileinput">
                                                        <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                                        <span class="fileinput-filename"><{$applist.official_seal}></span>
                                                    </div>
                                                    <span class="input-group-addon fileupload btn btn-info btn-anim btn-file">
                                                        <i class="fa fa-upload"></i>
                                                        <span class="fileinput-new btn-text">上传</span>
                                                        <span class="fileinput-exists btn-text">Change</span>
                                                        <input type="hidden">
                                                        <input value="<{$applist.official_seal}>" name="official_seal" type="file">
                                                    </span>
                                                    <a class="input-group-addon btn btn-danger btn-anim fileinput-exists" href="form-element.html#" data-dismiss="fileinput">
                                                        <i class="fa fa-trash"></i>
                                                        <span class="btn-text"> 删除</span>
                                                    </a>
                                                </div>
                                                </div>
                                            </div>

                                            <div class="form-group mb-30">
                                                <label class="control-label mb-10   col-sm-1">电子签章制作委托书</label>
                                                <div class="col-sm-10">
                                                <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                                                    <div class="form-control" data-trigger="fileinput">
                                                        <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                                        <span class="fileinput-filename"><{$applist.signature}></span>
                                                    </div>
                                                    <span class="input-group-addon fileupload btn btn-info btn-anim btn-file">
                                                        <i class="fa fa-upload"></i>
                                                        <span class="fileinput-new btn-text">上传</span>
                                                        <span class="fileinput-exists btn-text">Change</span>
                                                        <input type="hidden">
                                                        <input value="<{$applist.signature}>" name="signature" type="file">
                                                    </span>
                                                    <a class="input-group-addon btn btn-danger btn-anim fileinput-exists" href="form-element.html#" data-dismiss="fileinput">

                                                        <i class="fa fa-trash"></i>
                                                        <span class="btn-text"> 删除</span>
                                                    </a>
                                                </div>
                                                </div>
                                            </div>

                                            <div class="form-group mb-30">
                                                <label class="control-label mb-10   col-sm-1">电子发票服务协议</label>
                                                <div class="col-sm-10">
                                                    <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                                                        <div class="form-control" data-trigger="fileinput">
                                                            <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                                            <span class="fileinput-filename"><{$applist.agreement}></span>
                                                        </div>
                                                        <span class="input-group-addon fileupload btn btn-info btn-anim btn-file">
                                                            <i class="fa fa-upload"></i>
                                                            <span class="fileinput-new btn-text">上传</span>
                                                            <span class="fileinput-exists btn-text">Change</span>
                                                            <input type="hidden">
                                                            <input value="<{$applist.agreement}>" name="agreement" type="file">
                                                        </span>
                                                        <a class="input-group-addon btn btn-danger btn-anim fileinput-exists" href="form-element.html#" data-dismiss="fileinput">
                                                            <i class="fa fa-trash"></i>
                                                            <span class="btn-text"> 删除</span>
    
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>


                                         <!--   <div class="form-group mb-30">
                                                <label class="control-label mb-10 text-left">状态</label>
                                                <div class="radio radio-info">
                                                    <input id="radio1" name="status" value="1" type="radio"  <{if $applist.status==1 || !$applist.status}>checked="checked"<{/if}>>
                                                    <label for="radio1"> 启用 </label>
                                                </div>
                                                <div class="radio radio-info">
                                                    <input id="radio2" name="status" value="0"  type="radio"   <{if $applist.status==0}>checked="checked"<{/if}> >
                                                    <label for="radio2"> 禁用 </label>
                                                </div>
                                            </div>-->

                                            <!--<div class="form-group">
                                                <div class="checkbox">
                                                    <input type="checkbox" id="terms" data-error="Before you check yourself" required>
                                                    <label for="terms" >Check yourself</label>
                                                    <div class="help-block with-errors"></div>
                                                </div>
                                            </div>-->
                                          <div class="form-group mb-0"> 
                                            <div class="col-sm-offset-2 col-sm-10">
                                              <button type="button" class="btn btn-success btn-anim"><i class="icon-rocket"></i><span class="btn-text">submit</span></button>
                                            </div>
                                       	  </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- /Row -->
</div>
    
  